namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PUB_DEV_LOCKER")]
    public partial class PUB_DEV_LOCKER
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public PUB_DEV_LOCKER()
        {
            LOG_SAMPLEACCESS = new HashSet<LOG_SAMPLEACCESS>();
            S_SAMPLE_SAVE = new HashSet<S_SAMPLE_SAVE>();
        }

        [Key]
        [StringLength(40)]
        public string LOCKER_ID { get; set; }

        [StringLength(20)]
        public string IP { get; set; }

        [StringLength(20)]
        public string PORT { get; set; }

        public bool? NETSTATUS { get; set; }

        public bool? LOCKER_TYPE { get; set; }

        public byte? CABINET { get; set; }

        public byte? LATTICE { get; set; }

        public byte? X { get; set; }

        public byte? Y { get; set; }

        public bool? STATUS { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<LOG_SAMPLEACCESS> LOG_SAMPLEACCESS { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<S_SAMPLE_SAVE> S_SAMPLE_SAVE { get; set; }
    }
}
